#include "ReadWrte_demo1.h"

void PresentImgs::ShowImg(Mat& img)
{
	if (img.empty())
		return;
	namedWindow("chenli", WINDOW_FREERATIO);
	imshow("chenli",img);
	waitKey(0);
	destroyAllWindows();
}

void PresentImgs::WriteImg(Mat& img)
{
	if (img.empty())
		return;
	imwrite("D:/Images/chenli2.png",img);
}